Skip to content

[ready to merge] docs(setup): document ability for users to leave an organization#650

Merged
trunk-staging-io[bot] merged 2 commits into
mainfrom
sam-gutentag/leave-organization-docs
May 13, 2026
Merged

[ready to merge] docs(setup): document ability for users to leave an organization#650
trunk-staging-io[bot] merged 2 commits into
mainfrom
sam-gutentag/leave-organization-docs

Conversation

@samgutentag
Copy link
Copy Markdown
Member

Summary

  • Adds a new "Leaving an Organization" section to setup-and-administration/managing-your-organization.md
  • Describes where to find the Leave Organization button for both admin and non-admin users
  • Notes that access is fully revoked after leaving and can be restored via a new invite

Source

Test plan

  • Preview in GitBook

Generated by Claude Code

Users can now leave an organization from Settings > Organization > General.
Admins see the option in Danger Zone alongside Delete; non-admins see a
standalone card. After leaving, access to settings, repos, and test data
is revoked until re-invited.

Source: trunk-io/trunk2#3933
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@trunk-staging-io
Copy link
Copy Markdown

trunk-staging-io Bot commented May 13, 2026

😎 Merged successfully - details.

@claude
Copy link
Copy Markdown
Contributor

claude Bot commented May 13, 2026

Claude finished @samgutentag's task in 51s —— View job


Claude finished Sam Gutentag's task

Todos

  • Read PR diff and changed file
  • Check related docs for style/conventions
  • Review for typos, grammar, formatting, and docs best practices
  • Post inline review comments

Review Summary

Small, well-scoped addition that documents a missing feature. The content is clear and structured consistently with surrounding sections (same navigation breadcrumb style, same H2 heading + *** separator convention). Three minor formatting/wording suggestions left as inline comments:

  • Line 66: "A confirmation dialog will ask you to confirm" is slightly redundant — suggested tightening.
  • Line 68: Bold Delete Organization for consistency with how Leave Organization is styled on the same line.
  • Line 70: Bold Leave Organization to match the references on lines 64 and 68.

None of these are blocking. Otherwise looks good to ship after a GitBook preview check.
• Branch: sam-gutentag/leave-organization-docs

Comment thread setup-and-administration/managing-your-organization.md Outdated
Comment thread setup-and-administration/managing-your-organization.md Outdated
Comment thread setup-and-administration/managing-your-organization.md Outdated
Copy link
Copy Markdown

@github-actions github-actions Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Auto-approved: Claude code review passed.

@samgutentag
Copy link
Copy Markdown
Member Author

Verification status (2026-05-13): live

Verified: customers can use this. Ready to publish.

  • Eng PR: trunk-io/trunk2#3933 (merged 2026-05-12, merge commit intact on main)
  • Flag: none (ungated feature)
  • Signals:
    • No flags.ts changes in the eng PR diff
    • No useFeatureFlag or useFlag calls added
    • Eng PR body contains no LaunchDarkly URLs or flag mentions
    • Change scope is danger-zone-card.tsx, common-permissions.ts, iam.ts, plus matching tests. Permission added directly via common-permissions.ts with no gating.

Safe to merge once the inline review feedback (3 minor formatting nits in the prior Claude review) is addressed. PR is still in draft; flip out of draft when ready.

@samgutentag samgutentag changed the title docs(setup): document ability for users to leave an organization [ready to merge] docs(setup): document ability for users to leave an organization May 13, 2026
Co-authored-by: claude[bot] <209825114+claude[bot]@users.noreply.github.com>
@samgutentag samgutentag marked this pull request as ready for review May 13, 2026 17:33
@claude
Copy link
Copy Markdown
Contributor

claude Bot commented May 13, 2026

Todos

  • Check what changed since last review
  • Read updated file
  • Verify prior review feedback was addressed
  • Post review summary

Review Summary

All three suggestions from the prior review were applied in 07d47e7:

  • Line 66: "A confirmation dialog will ask you to confirm" → tightened to "A confirmation dialog will appear. Once you leave…" ✅
  • Line 68: **Delete Organization** is now bolded for consistency ✅
  • Line 70: **Leave Organization** is now bolded for consistency ✅

No further typos, grammar, or formatting issues spotted. The new "Leaving an Organization" section follows the same conventions as surrounding sections (H2 heading + *** separator, bolded navigation breadcrumbs, bolded UI element names). LGTM — ready to merge once GitBook preview is sanity-checked.

View job run • Branch: sam-gutentag/leave-organization-docs

@trunk-staging-io trunk-staging-io Bot merged commit d6327a5 into main May 13, 2026
6 of 7 checks passed
@trunk-staging-io trunk-staging-io Bot deleted the sam-gutentag/leave-organization-docs branch May 13, 2026 17:34
@claude
Copy link
Copy Markdown
Contributor

claude Bot commented May 13, 2026

Claude finished @samgutentag's task in 27s —— View job


Todos

  • Read PR diff and current file state
  • Verify prior review feedback was addressed
  • Check for any new typos, grammar, or formatting issues
  • Post final review

Review Summary

This PR is already merged (commit d6327a5 on main). Confirmed the final merged state of setup-and-administration/managing-your-organization.md (lines 62–70) incorporates all three suggestions from the earlier review round:

  • Line 64: **Leave Organization** bolded ✅
  • Line 66: "A confirmation dialog will appear. Once you leave…" — tightened from the redundant phrasing ✅
  • Line 68: Both **Leave Organization** and **Delete Organization** bolded for consistency ✅
  • Line 70: **Leave Organization** bolded ✅

No additional typos, grammar, or formatting issues. The new "Leaving an Organization" section follows surrounding conventions (H2 heading + *** separator, bolded navigation breadcrumbs, bolded UI element names). Nothing further to action — review passes.
• Branch: sam-gutentag/leave-organization-docs

Copy link
Copy Markdown

@github-actions github-actions Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Auto-approved: Claude code review passed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants